import java.sql.Connection;

public abstract class DepositTypesManager {

	private Connection connection;

	public DepositTypesManager(Connection initConnection) {
		// constructor - initialiaze connection
		// use this connection in all functions of AccountManager

		setConnection(initConnection);
	}

	public Connection getConnection() {
		return connection;
	}

	public void setConnection(Connection connection) {
		this.connection = connection;
	}

	public abstract DepositType getDepositTypesObject(long depositType) throws DBManagerException;

}
// 

